<cfquery datasource="#application.dsn#" name="getcomponents">
DELETE FROM components
WHERE componentid=#componentid#  
</cfquery>

<CFLOCATION url="components_list.cfm?msg=item has been deleted">
